<div class="main-right">
        <div class="news f-w100 m-15">
          <div class="f-w100" style="margin-top: 5px; margin-bottom: 5px;">
          </div>
          <div class="ads-r-t ads-left-b cll">	
          </div>         
            <div id="group">
                <ul class="tabs-nav">
                    <li class="tabs-l"><a href="#new-group"><span>Sự kiện</span></a></li>
                    <li><a href="#group-thread"><span>Tin tức</span></a></li>
                </ul>
                <div id="new-group" class="news-c">
                    <ul class="group-ul">
                    	<?php foreach($newsshowtable as $row){?>
						<li class="newsgroup">
							<a href="<?php echo $this->config->item('base_url'); ?>index.php/room/index/<?php echo $row->id; ?>" class="like-link" title="<?php echo $row->roomname?>"><?php echo $row->roomname;?></a>
                            <p class="like-txt"> » Có <?php echo $row->numberwrite;?> trả lời</p>
                            <p class="like-txt"> » Chủ đề có <?php echo $row->view;?> lượt xem</p>
                        </li>
                        <?php }?>
                    </ul>
                    <p class="cll" style="padding-top:5px;"><a href="<?php echo $this->config->item('base_url'); ?>index.php/room" class="xem-all xem-all-r">Xem tất cả</a></p>
                </div>
                <div id="group-thread" class="news-c">
                    <ul class="group-ul">
						<?php foreach($newshidetable as $row){?>
						<li class="newsgroup">
							<a href="<?php echo $this->config->item('base_url'); ?>index.php/room/index/<?php echo $row->id; ?>" class="like-link" title="<?php echo $row->roomname?>"><?php echo $row->roomname;?></a>
                            <p class="like-txt"> » Có <?php echo $row->numberwrite;?> trả lời</p>
                            <p class="like-txt"> » Chủ đề có <?php echo $row->view;?> lượt xem</p>
                        </li>
                        <?php }?>
                     </ul>
                    <p class="cll" style="padding-top:5px;"><a href="<?php echo $this->config->item('base_url'); ?>index.php/room" class="xem-all xem-all-r">Xem tất cả</a></p>

                </div>
            </div>
        </div>
</div>
        <!--END nhom-->